import got from "got";

const getJuejin = async () => {
  const body = {
    id_type: 2,
    client_type: 2608,
    sort_type: 300,
    cursor: "0",
    limit: 20,
  };
  const url =
    "https://apinew.juejin.im/recommend_api/v1/article/recommend_all_feed";
  const res = await got.post(url, {
    json: body,
  });
  return res;
};

export { getJuejin };
